 <div style="padding:5px;border:1px solid #000;">
        List testimonial 
</div>
<?php
    $listtestimonial = $this->listtestimonial;
    if(count($listtestimonial) > 0)
    {
?>
<div style="padding:10px 0px;">
    <a style="font-size: 13pt;"  href="<?=BASE_URL?>/index/shop/testimonial" title="testimonial"><input type="submit" value="Write a Testimonial" class="uniform" /></a>
</div>
<div style="padding:10px 0px;border-bottom:1px solid #CCCCCC">
    <b>See my Google Reviews <a href="http://maps.google.com/maps/place?oe=utf-8&rls=org.mozilla:en-US:official&client=firefox-a&um=1&ie=UTF-8&q=spa+alana&fb=1&gl=us&hq=spa+alana&hnear=Dana+Point,+CA&cid=13724284623520091128" style="text-decoration: none; color:#E33588;">here</a></b> <br />
    <b>See my Yahoo reviews <a href="http://local.yahoo.com/info-77054071-spa-alana-dana-point;_ylt=AqMHfamNhT4FPXS362g23YmHNcIF;_ylv=3?csz=Dana+Point,+CA+92629" style="text-decoration: none; color:#E33588;">here</a></b>
</div>
<?php
    foreach($listtestimonial as $list):
?>
<div style="padding:10px 0px;border-bottom:1px solid #CCCCCC">
    <?php
    if($list['image']) {
    ?>
    <div>
         <?php
            $date = new DateTime($list['date']);
            echo ($date->format('d-m-y'));
           ?>
    </div><br />
    <div>
         <img style="max-width:700px;" src="<?php echo BASE_PATH . $list['image'];?>" /><br />
    </div>
    <?php
    }
    ?>
    <div>
         <?php
            echo nl2br($list['description']);
           ?>
          
    </div>
     <br />
     <div>
        <?php
            echo $list['fullname'];
          ?>
    </div>
     <div style="font-style: italic; font-weight: bold;">
         <?php
            echo $list['city'];
            echo ", ";
            echo $list['state']; 
          ?>
    </div>
</div>
<?php
    endforeach;
    }
?>
<script src="<?=JS_PATH?>/jquery/validate/jquery.validate.js" type="text/javascript"></script>